package com.smarthealthcare.followup.mapper;

import java.util.List;
import com.smarthealthcare.followup.domain.Followup;

/**
 * followupMapper接口
 * 
 * @author ruoyi
 * @date 2024-11-22
 */
public interface FollowupMapper 
{
    /**
     * 查询followup
     * 
     * @param id followup主键
     * @return followup
     */
    public Followup selectFollowupById(Long id);

    /**
     * 查询followup列表
     * 
     * @param followup followup
     * @return followup集合
     */
    public List<Followup> selectFollowupList(Followup followup);

    /**
     * 新增followup
     * 
     * @param followup followup
     * @return 结果
     */
    public int insertFollowup(Followup followup);

    /**
     * 修改followup
     * 
     * @param followup followup
     * @return 结果
     */
    public int updateFollowup(Followup followup);

    /**
     * 删除followup
     * 
     * @param id followup主键
     * @return 结果
     */
    public int deleteFollowupById(Long id);

    /**
     * 批量删除followup
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteFollowupByIds(Long[] ids);
}
